package com.chengyu.core.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chengyu.core.entity.MerchantShareRule;
import com.chengyu.core.response.MerchantShareRuleResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商户场景分成规则表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2023-05-19
 */

@Mapper
public interface MerchantShareRuleMapper extends BaseMapper<MerchantShareRule> {

    MerchantShareRuleResp getShareRuleByCode(@Param("sceneCode")String sceneCode);
}
